<?php 
//$GLOBALS['Md'] = "MF93FL27";
//$GLOBALS['Pd'] = "B";

require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
require_once($_SERVER['DOCUMENT_ROOT']."/Modules/MF93FL27/modconf.mex");


WEBCONN();

$Qur = "SELECT id AS ID, nome AS NAME FROM webportalmex.inquerito_informatica order by name";

$GLOBALS['MYT'] = $GLOBALS['WEB'];


	echo '<div class="title">RelatÓrio de IT</div>
	<div class="Line">
	<table width="100%" align="center" cellspacing="3">
  <tr>
     <td>Escolha o nome da pessoa que pretende ver o relatÓrio: </td>
   
	<td></td>
  </tr>
  <tr>
     ';
	//$Qur = "SELECT nome FROM webportalmex.inquerito_informatica i where id = 1;";
	//$Qur = "SELECT sleID AS ID, sleName AS NAME FROM sellers";
	mn_field('select','ED','bttPartners','',$Qur,'','',''); echo '</td>
	<td colspan="2"> '; 
	//(select, ed, nomecampo, valorvariavel, querieid)
 mn_field('button','ED','bns_Query','Consultar','8','6','','" onclick="
			document.Mod_Benefict.action=\'Modules/CMX3458E/Lib/rs_agentaccounts.php\';
			subform(\'Mod_Benefict\',\'rsresults\');');
	echo ' | ';
	 mn_field('button','ED','bns_Query','Imprimir','8','6','','" onclick="
			'); echo '</td>
  </tr>
 </table
 </div>'; ?>